package hva.team2.viavia.sensors.location;

import android.location.Location;
import android.util.Log;

import hva.team2.viavia.Master;


public class GPSStore {

	static GPSStore instance;
	private Location gpsLocation;
	
	private GPSStore(){
	}
	   
	public static GPSStore getInstance(){
	      if(instance == null){
	    	 
	    	  Log.e("GPSStore", "init");
	           instance = new GPSStore();
	       }
	       return instance;
	}
	   
	public void setLocation(Location location){
	       this.gpsLocation = location;
	}

	public Location getLocation(){
	       return this.gpsLocation;


	}

	
}
